package org.demo.dubbo.service;

import org.apache.dubbo.config.annotation.DubboService;
import org.demo.dubbo.api.DemoService;

/**
 * 作者： lzw<br/>
 * 创建时间：2018-09-26 17:38 <br/>
 */
//@Service
@DubboService(protocol = {"dubbo"})
public class DefaultDemoService implements DemoService {

    @Override
    public String sayHello(String name) {
        return "Hello, " + name + " (from Spring Boot)";
    }
}
